<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<body>
<table class="layui-hide" id="user_table" lay-filter="user_table"></table>
<%--头部工具栏--%>
<script type="text/html" id="user_table_toolbar">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm" lay-event="deleteCheckedData">删除选中</button>
        <button class="layui-btn layui-btn-sm" lay-event="addNewUser">添加新用户</button>
        <button class="layui-btn layui-btn-sm" lay-event="searchUser"><i class="layui-icon layui-icon-search"></i>搜索用户
        </button>
    </div>
</script>
<%--数据表中右侧行工具栏--%>
<script type="text/html" id="user_table_bar">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script>
    var homePath = "${pageContext.request.contextPath}";
</script>
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/admin/user.css">
<script src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
<script src="${pageContext.request.contextPath}/static/js/admin/user.js"></script>
</body>
<script type="text/html" id="userForm">
    <jsp:include page="../form/userForm.jsp"/>
</script>
</html>
